import 'package:json_annotation/json_annotation.dart';
part 'simple_user_info.g.dart';
// 用户名, 用户等级, 头像, 签名, id 信息
@JsonSerializable()
class SimpleUserInfo {

  SimpleUserInfo({this.id,this.name,this.signature,this.level,this.avatar}){}

  factory SimpleUserInfo.fromJson(Map<String, dynamic> json) => _$SimpleUserInfoFromJson(json);
  Map<String, dynamic> toJson() => _$SimpleUserInfoToJson(this);

  int id;
  String name;
  String signature;
  String level;
  String avatar;
}